<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <ul class="nav nav-tabs" >
        <li class="active">
            <a href="#tab-general" data-toggle="tab" aria-expanded="false">基本信息</a>
        </li>
        <li class="">
            <a href="#tab-zh_cn" data-toggle="tab" aria-expanded="false">中文</a>
        </li>
        <li class="">
            <a href="#tab-en" data-toggle="tab" aria-expanded="false">英语</a>
        </li>
    </ul>
    <div class="tab-content" style="padding-top: 10px;">
        <div class="tab-pane active" id="tab-general">
            <div class="form-group">
                <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-name" data-rule="" class="form-control" name="row[name]" type="text" value="" placeholder="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-num" class="form-control" name="row[num]" type="number" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-weigh" class="form-control" name="row[weigh]" type="number" >
                </div>
            </div>
        </div>
        <div class="tab-pane" id="tab-zh_cn">
            <div class="form-group">
                <label for="c-name_zh_cn" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-name_zh_cn" data-rule="" class="form-control" name="row[name_zh_cn]" type="text" value="" placeholder="">
                </div>
            </div>
        </div>
        <div class="tab-pane" id="tab-en">
            <div class="form-group">
                <label for="c-name_en" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-name_en" data-rule="" class="form-control" name="row[name_en]" type="text" value="" placeholder="">
                </div>
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

